package ${appConfig.groupId}.service;

import ${appConfig.groupId}.model.${tableConfig.domainObjectName};

public interface I${tableConfig.domainObjectName}Service {
    Boolean delete${tableConfig.domainObjectName}By${primaryKey.javaPropertyName ? cap_first}(${primaryKey.javaShortType} ${primaryKey.javaPropertyName});

    Boolean insertOrUpdate${tableConfig.domainObjectName}By${primaryKey.javaPropertyName ? cap_first}(${tableConfig.domainObjectName} ${tableConfig.domainObjectName ? uncap_first});

    ${tableConfig.domainObjectName} get${tableConfig.domainObjectName}By${primaryKey.javaPropertyName ? cap_first}(${primaryKey.javaShortType} ${primaryKey.javaPropertyName});

    Boolean insertOrUpdate${tableConfig.domainObjectName}By${primaryKey.javaPropertyName ? cap_first}Selective(${tableConfig.domainObjectName} ${tableConfig.domainObjectName ? uncap_first});
}
